<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
   <link rel="stylesheet" href="/static/plugins/layui/css/layui.css">
   <style>
       form{
           width: 330px;
       }
   </style>

</head>
<body>
<form clas="layui-form">
    <input type="hidden" name="id" value="{{ user.id }}"></input>
    <div class="layui-form-item">
        <label class="layui-form-label">用户名</label>
        <div class="layui-input-block">
            <input type="text" id="username" name="username" value="{{ user.username }}" lay-verify="required" placeholder="请输入" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
</form>
<form clas="layui-form">
    <div class="layui-form-item">
        <label class="layui-form-label">密码</label>
        <div class="layui-input-block">
            <input type="text" id="password" name="password" value="{{ user.password }}" lay-verify="required" placeholder="请输入" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
</form>
</body>
</html>